import axios from 'axios'

export default function required(config) {

  const http = axios.create({
    baseURL: 'http://localhost:8000/',
    timeout: 5000
  })

  return http(config)
}